<!DOCTYPE HTML>
<!--
  ~ Druid - a distributed column store.
  ~ Copyright (C) 2012  Metamarkets Group Inc.
  ~
  ~ This program is free software; you can redistribute it and/or
  ~ modify it under the terms of the GNU General Public License
  ~ as published by the Free Software Foundation; either version 2
  ~ of the License, or (at your option) any later version.
  ~
  ~ This program is distributed in the hope that it will be useful,
  ~ but WITHOUT ANY WARRANTY; without even the implied warranty of
  ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  ~ GNU General Public License for more details.
  ~
  ~ You should have received a copy of the GNU General Public License
  ~ along with this program; if not, write to the Free Software
  ~ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
  -->

<html xmlns="http://www.w3.org/1999/html">
<head>
  <title>Druid Coordinator Console - Rule Configuration</title>
  <link rel="shortcut icon" type="image/ico" href="images/favicon.ico">
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
  <meta name="Description" content="Druid Coordinator Console Page"/>

  <style type="text/css">@import "css/style.css";</style>
  <style type="text/css">@import "css/jquery-ui-1.9.2.css";</style>
  <style type="text/css">@import "css/rules.css";</style>

  <script type="text/javascript" src="js/underscore-1.2.2.js"></script>
  <script type="text/javascript" src="js/jquery-1.11.0.min.js"></script>
  <script type="text/javascript" src="js/jquery-ui-1.9.2.js"></script>
  <script type="text/javascript" src="js/rules-0.0.2.js"></script>
</head>
<body>
<div class="container">

  <div class="heading">Rule Configuration</div>

  <div id="select_datasource">
    Select Data Source:
    <select id="datasources">
      <option></option>
    </select>
  </div>

  <div id="rules">
    <button type="button" id="create_new_rule">Add Rule</button>
    <div id="rules_list"></div>

    <button type="button" id="update">Update</button>
    <div id="update_dialog" title="Confirm Update">
      <p>Are you sure you want to update?</p>
    </div>
    <button type="button" id="cancel">Cancel</button>
    <div id="cancel_dialog" title="Confirm Cancel">
      <p>Are you sure you want to cancel? All changes will be lost.</p>
    </div>

    <div id="error_dialog" title="Error!"></div>
  </div>
</div>
</body>
</html>